package com.one.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.one.dto.SelectMenu;
import com.one.dto.SysMenu;
import com.one.entity.SysMenuEntity;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author zwj
 * @since 2021-09-17
 */
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenuEntity> {

    List<SysMenu> selectMenu(SelectMenu selectMenu);

    int deleteMenu(SelectMenu selectMenu);

    String selectRoleMenu(String id);
}
